package flex.cc.order.manage.service.impl;

import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import flex.cc.order.manage.dao.OrderServiceRescueDao;
import flex.cc.order.manage.dto.order.OrderServiceRescueEntity;
import flex.cc.order.manage.service.OrderServiceRescueService;

/**
 * 
 * @author WANGCONG
 * 2021年9月6日下午5:09:22
 * @desc 服务单待实际救援信息业务实现层
 */
@Service("orderServiceRescueService")
@Transactional(rollbackFor = Exception.class)
public class OrderServiceRescueServiceImpl extends ServiceImpl<OrderServiceRescueDao, OrderServiceRescueEntity> 
	implements OrderServiceRescueService {

	@Resource
	private OrderServiceRescueDao orderServiceRescueDao;
	
	/**
	 *
	 * @author WANGCONG
	 * 2021年9月10日下午5:59:31
	 * @desc 根据map更新待实际救援信息（状态回写）
	 */
	@Override
	public int updateByParams(Map<String, Object> rescue_param) {
		return orderServiceRescueDao.updateByParams(rescue_param);
	}

	

}
